package com.liang.dao.bill;

import com.liang.pojo.Bill;

import java.sql.Connection;
import java.util.List;

public interface BillDao {
    int getCount(Connection connection,String productName,Integer providerId,Integer isPayment);
    List<Bill> getBillList(Connection connection,String productName,Integer providerId,Integer isPayment,int pageNo,int pageSize);
    Boolean addBill(Connection connection,Bill bill);

    Bill getBillListSearch(Connection connection,String billCode,Integer id);

    Boolean updateBill(Connection connection,Bill bill);
    Boolean deleteBill(Connection connection,Integer id);
}
